-- GENERATED SPELL FOR [Cenarion Outrider] --


function spell0_15545(pUnit, Event) --@Demoralizing Shout,Self--
pUnit:FullCastSpellOnTarget(13730,pUnit)
pUnit:RegisterEvent('Sorts_15545', 30251, 1)
end

function Sorts_15545(pUnit, Event)
local choix_sorts_15545 = math.random(0, 0)
if choix_sorts_15545 == 0 then
pUnit:RegisterEvent('spell0_15545', 1, 1)
end
end

function mob15545_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15545', math.random(1500, 3000), 1)
end

function mob15545_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15545_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15545_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15545, 1, 'mob15545_Action')
RegisterUnitEvent(15545, 2, 'mob15545_Leave')
RegisterUnitEvent(15545, 3, 'mob15545_Kill')
RegisterUnitEvent(15545, 4, 'mob15545_Die')
